import request from '@/util/request'

export function pageGetDocProduct(data) {
  return request({
    url: '/iot/doc/product/pageGet',
    method: 'post',
    data
  })
}

export function updateDocProduct(data) {
  return request({
    url: '/iot/doc/product/update',
    method: 'post',
    data
  })
}

export function getDocProduct(data) {
  return request({
    url: '/iot/doc/product/get',
    method: 'post',
    data
  })
}

export function deleteDocProduct(data) {
  return request({
    url: '/iot/doc/product/delete',
    method: 'post',
    data
  })
}

export function deleteDocProductList(data) {
  return request({
    url: '/iot/doc/product/deleteList',
    method: 'post',
    data
  })
}

export function insertDocProduct(data) {
  return request({
    url: '/iot/doc/product/insert',
    method: 'post',
    data
  })
}
